x86/AMD: Allow more fine-grained control of VMCB MSR Permission Map
authorBoris Ostrovsky <boris.ostrovsky@oracle.com>
Mon, 15 Apr 2013 09:23:25 +0000 (11:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 15 Apr 2013 09:23:25 +0000 (11:23 +0200)
commit6f3c6d1ed8d2c8b6cd5d9689159e3647bf428dcd
tree6f771541c2c91da817ccde8f03075e2bca76a779
parent6a727d6be892ea5ff818446d96974bebdf8ac3a2
x86/AMD: Allow more fine-grained control of VMCB MSR Permission Map

Currently VMCB's MSRPM can be updated to either intercept both reads and
writes to an MSR or not intercept neither. In some cases we may want to
be more selective and intercept one but not the other.

Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Reviewed-by: Dietmar Hahn <dietmar.hahn@ts.fujitsu.com>
xen/arch/x86/hvm/svm/svm.c
xen/include/asm-x86/hvm/svm/vmcb.h